<alert class="alert-msg" ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}
</alert>

<form class="form-horizontal">

    <div class="box box-info">
        <div class="box-header with-border">
            <h3 class="box-title">充值订单查询</h3>
        </div>
        <div class="box-body">
        
            <div class="row form-group" style="display: flex; flex-flow: row">
            
                <div class="form-group col-sm-6" style="display: flex; flex-flow: row">
                    <label class="col-sm-8 control-label" style="width: 120px;">开始时间:</label>
                    <div class="col-sm-6">
		                <input type="date" id="startDate" class="form-control" ng-model="startDate">
                    </div>
                </div>

                <div class="form-group col-sm-6" style="display: flex; flex-flow: row">
                    <label class="col-sm-8 control-label" style="width: 120px;">结束时间:</label>
                    <div class="col-sm-6">
		                <input type="date" id="endDate" class="form-control" ng-model="endDate">
                    </div>
                </div>
                
            </div>
             
            <div class="row form-group" style="display: flex; flex-flow: row">
                <div class="form-group col-sm-6" style="display: flex; flex-flow: row">
                    <label class="col-sm-8 control-label" style="width: 120px;">充值订单号：</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" ng-model="rechargeOrderNo">
                    </div>
                </div>

                <div class="form-group col-sm-3" style="display: flex; flex-flow: row">
                    <label class="col-sm-2 control-label" style="width: 120px;">状态：</label>
                    <select ng-model="status" value="" class="form-control">
	                    <option value="" selected="selected">全部</option>
	                    <option value="1">已生成 </option>
	                    <option value="2">已发放 </option>
	                    <option value="3">已拒绝</option>
                    </select>
                </div>
            </div>
            <div class="row form-group" style="display: flex; flex-flow: row">

                <div class="form-group col-sm-6" style="display: flex; flex-flow: row">
                    <label class="col-sm-6 control-label" style="width: 120px;">外部订单号：</label>

                    <div class="col-sm-6">
                        <input type="text" class="form-control" ng-model="outOrderNo">
                    </div>
                </div>
                <div class="form-group col-sm-4" style="display: flex; flex-flow: row">
                    <button type="submit" class="btn btn-primary" ng-click="queryList()"> 查询 </button>
                </div>
            </div>
            
            
        </div>

    </div>
</form>


获取<strong>{{totalItems}}</strong>条数据：
<div style="height:450px !important;" ui-grid="gridOptions" ui-grid-auto-resize ui-grid-resize-columns class="grid">
    <!--这里显示页面信息 -->
</div>

<pagination total-items="totalItems"
            ng-model="currentPage"
            items-per-page="pageSize"
            max-size="3" class="pagination-sm"
            boundary-links="true" rotate="false"
            previous-text="上一页"
            next-text="下一页"
            last-text="最后一页"
            first-text="第一页"
            ng-change="queryList()">

</pagination>
